using System;

namespace MrDev
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        static void Main(string[] args)
        {
            try
            {
                Logger.LogInfo("** GAME STARTED");
                using (PlatformerGame game = new PlatformerGame())
                {
                    game.Run();
                }
            }
            catch (Exception ex)
            {
                Logger.LogError(ex.ToString());
            }
            finally
            {
                Logger.LogInfo("** GAME TERMINATED");
            }
        }
    }
}

